//
//  OADCellConfig.h
//  OASDK_Works
//
//  Created by ChenJie on 3/1/20.
//  Copyright © 2020 Mist. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "UIView+OADLayout.h"
#import "OADCellProtocol.h"


@interface OADCellConfig : NSObject

@property (nonatomic, assign) Class cellClass;
//@property (nonatomic, assign) CGFloat cellHeight;
@property (nonatomic, assign) CGFloat staticCellHeight;
//@property (nonatomic, assign) CGFloat constantCellHeight;
@property (nonatomic, strong) OADLayout *cellLayout;
@property (nonatomic, strong) id<OADCellViewModelProtocol> cellViewModel;

/*
 * UITableViewDataSource
 */

- (UITableViewCell *)cellForRowWithTableView:(UITableView *)tableView;

/*
 * UITableViewDelegate
 */

- (CGFloat)heightForRow;

@end

